文档

ACS::CN::UpgradeServiceInstanceByRunCommand

动作描述

通过下载OSS文件与运行命令执行服务实例升级

语法

Action: ACS::CN::UpgradeServiceInstanceByRunCommand
Properties:
 regionId: String
 serviceInstanceId: String
 resourceName: String
 applicationGroupName: String
 artifactsUrl: String
 artifactsDownloadDirectory: String
 commandType: String
 commandContent: String
 workingDir: String
 timeout: Number
 enableParameter: Boolean
 parameters: Json
 OOSAssumeRole: String

属性

属性名称

描述

类型

是否必填

默认值

约束

regionId

地域

String

{{ ACS::RegionId }}

serviceInstanceId

计算巢服务实例ID

String

resourceName

运行命令的ECS实例资源名称

String

applicationGroupName

运行命令的ECS实例应用分组名称

String

artifactsUrl

The URL of file artifacts

String

artifactsDownloadDirectory

The artifacts download to directory

String

commandType

命令类型

String

RunShellScript

commandContent

命令内容

String

最大长度 : 16384

workingDir

运行目录

String

timeout

超时时间

Number

600

enableParameter

命令中是否包含加密参数或自定义参数

Boolean

False

parameters

命令参数

Json

{}

OOSAssumeRole

OOS扮演的RAM角色

String

OOSServiceRole

返回值

返回值名称

描述

类型

commandOutput

List

详情

ACS::CN::UpgradeServiceInstanceByRunCommand详情

  • 本页导读 (0)
文档反馈